//
//  CJTopLineOneCell.m
//  Boss
//
//  Created by admin on 2018/9/10.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "CJTopLineOneCell.h"
@interface CJTopLineOneCell()
@property (strong, nonatomic) IBOutlet UILabel *titleLabel;

@property (strong, nonatomic) IBOutlet UILabel *timeAndName;
@property (strong, nonatomic) IBOutlet UIImageView *descImageView;

@property (strong, nonatomic) IBOutlet UILabel *readCount;


@end
@implementation CJTopLineOneCell

-(void)setBossLine:(CJBOSSHeadLine *)bossLine
{
    _bossLine = bossLine;
    self.titleLabel.text = bossLine.firmSimpleName;
    self.timeAndName.text = [NSString stringWithFormat:@"%@ ",bossLine.firmName];
    self.readCount.text = [NSString stringWithFormat:@"%@ 阅读量",bossLine.headlinePageviews];
    [self.descImageView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@!default",bossLine.headlinePictureUrl]] placeholderImage:nil];
    
    
    
    
    
}



- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
